﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="SampleWebApp.Default" Codebehind="Default.aspx.cs" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title>ASP.NET Generic Controls</title>
        <link href="/Resources/Styles/styles.css" rel="stylesheet" type="text/css" />
        <script type="text/javascript" language="javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.0/jquery.min.js"></script>
        <script type="text/javascript" language="javascript" src="/Resources/Scripts/filterbar.js"></script>
    </head>
    <body>
        <form id="form1" runat="server">
        <div>

            <div class="sample-data clear">
                <div class="clear">
                    <nc:CheckBoxSelector runat="server" ID="SampleDataCheckBoxSelector" ObjectType="SampleWebApp.Customer"
                        CssClass="sample-data-checkboxlist" CheckBoxCssClass="check-box" CheckBoxLabelField="FullName" CheckBoxValueField="Id" />
                </div>
                <div class="clear">
                    <nc:QueryFilterBar runat="server" ID="SampleDataQueryFilterBar" ObjectType="SampleWebApp.Customer"
                        CssClass="sample-data-filterbar" />
                </div>
                <div class="clear">
                    <nc:QueryFilterBar runat="server" ID="LoginsQueryFilterBar" ObjectType="SampleWebAppData.Login"
                        CssClass="logins-filterbar" />
                </div>
            </div>
            
            <div class="debug clear">

                <asp:Button runat="server" ID="CheckStuffButton" Text="Check Stuff" OnClick="HandleCheckStuffButton_Click" />

                <asp:Literal runat="server" ID="QueryOutputLiteral" EnableViewState="false"></asp:Literal>
                <asp:Literal runat="server" ID="OutputLiteral" EnableViewState="false"></asp:Literal>

            </div>

        </div>
        </form>
    </body>
</html>
